﻿using BaseFrame.Tool;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace BaseFrame
{
    public class Global
    {
        public static string mysqlServer = GetConfigTool.GetConnectionStringsConfig("MySqlConnection");
        public static string solutionName = Assembly.GetEntryAssembly().GetName().Name;//项目解决方案名称
        public static string entityName = "Entity";//实体集命名空间

        //public static string warite = GetConfigTool.GetAppConfig("warite");
        public static int entityStringDefaultLength = GetConfigTool.GetAppConfig("entityStringDefaultLength").ToInt();
        public static SqlSugarClientOperation sqlSugarClient { get; } = new SqlSugarClientOperation();
    

    }
}
